﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;

namespace H2.NET.Web.Pages.SMD.Model
{
    [Table]
    [Serializable]
    public class t_smd_ContractDevice_Cancel : DataObject
    {
        [ID]
        [IDENTITY]
        [Column]
        public int ContractDeviceCancelID { get { return fContractDeviceCancelID; } set { fContractDeviceCancelID = value; EntityState.FieldChange("ContractDeviceCancelID"); } } private int fContractDeviceCancelID; public static FieldInfo _ContractDeviceCancelID = new FieldInfo("t_smd_ContractDeviceCancel", "ContractDeviceCancelID");
        [Column]
        public int DeviceID { get { return fDeviceID; } set { fDeviceID = value; EntityState.FieldChange("DeviceID"); } } private int fDeviceID; public static FieldInfo _DeviceID = new FieldInfo("t_smd_ContractDeviceCancel", "DeviceID");
        [Column]
        public string DeviceCancelNature { get { return fDeviceCancelNATURE; } set { fDeviceCancelNATURE = value; EntityState.FieldChange("DeviceCancelNature"); } } private string fDeviceCancelNATURE; public static FieldInfo _DeviceCancelNature = new FieldInfo("t_smd_ContractDeviceCancel", "DeviceCancelNature");
        [Column]
        public string DeviceCancelAffiliation { get { return fDeviceCancelAFFILIATION; } set { fDeviceCancelAFFILIATION = value; EntityState.FieldChange("DeviceCancelAffiliation"); } } private string fDeviceCancelAFFILIATION; public static FieldInfo _DeviceCancelAffiliation = new FieldInfo("t_smd_ContractDeviceCancel", "DeviceCancelAffiliation");
        [Column]
        public string DeviceCancelStamp { get { return fDeviceCancelSTAMP; } set { fDeviceCancelSTAMP = value; EntityState.FieldChange("DeviceCancelStamp"); } } private string fDeviceCancelSTAMP; public static FieldInfo _DeviceCancelStamp = new FieldInfo("t_smd_ContractDeviceCancel", "DeviceCancelStamp");
        [Column]
        public string DeviceCancelParty { get { return fDeviceCancelPARTY; } set { fDeviceCancelPARTY = value; EntityState.FieldChange("DeviceCancelParty"); } } private string fDeviceCancelPARTY; public static FieldInfo _DeviceCancelParty = new FieldInfo("t_smd_ContractDeviceCancel", "DeviceCancelParty");
        [Column]
        public int? DeviceCancelCopies { get { return fDeviceCancelCOPIES; } set { fDeviceCancelCOPIES = value; EntityState.FieldChange("DeviceCancelCopies"); } } private int? fDeviceCancelCOPIES; public static FieldInfo _DeviceCancelCopies = new FieldInfo("t_smd_ContractDeviceCancel", "DeviceCancelCopies");
        [Column]
        public DateTime? DeviceCancelExpressDate { get { return fDeviceCancelEXPRESSDATE; } set { fDeviceCancelEXPRESSDATE = value; EntityState.FieldChange("DeviceCancelExpressDate"); } } private DateTime? fDeviceCancelEXPRESSDATE; public static FieldInfo _DeviceCancelExpressDate = new FieldInfo("t_smd_ContractDeviceCancel", "DeviceCancelExpressDate");
        [Column]
        public string DeviceCancelEms { get { return fDeviceCancelEMS; } set { fDeviceCancelEMS = value; EntityState.FieldChange("DeviceCancelEms"); } } private string fDeviceCancelEMS; public static FieldInfo _DeviceCancelEms = new FieldInfo("t_smd_ContractDeviceCancel", "DeviceCancelEms");
        [Column]
        public string ToDeviceCancelEms { get { return fTODeviceCancelEMS; } set { fTODeviceCancelEMS = value; EntityState.FieldChange("ToDeviceCancelEms"); } } private string fTODeviceCancelEMS; public static FieldInfo _ToDeviceCancelEms = new FieldInfo("t_smd_ContractDeviceCancel", "ToDeviceCancelEms");
        [Column]
        public bool? DeviceCancelFinance { get { return fDeviceCancelFINANCE; } set { fDeviceCancelFINANCE = value; EntityState.FieldChange("DeviceCancelFinance"); } } private bool? fDeviceCancelFINANCE; public static FieldInfo _DeviceCancelFinance = new FieldInfo("t_smd_ContractDeviceCancel", "DeviceCancelFinance");
        [Column]
        public string DeviceCancelArchive { get { return fDeviceCancelARCHIVE; } set { fDeviceCancelARCHIVE = value; EntityState.FieldChange("DeviceCancelArchive"); } } private string fDeviceCancelARCHIVE; public static FieldInfo _DeviceCancelArchive = new FieldInfo("t_smd_ContractDeviceCancel", "DeviceCancelArchive");
        [Column]
        public string DeviceCancelRemark { get { return fDeviceCancelREMARK; } set { fDeviceCancelREMARK = value; EntityState.FieldChange("DeviceCancelRemark"); } } private string fDeviceCancelREMARK; public static FieldInfo _DeviceCancelRemark = new FieldInfo("t_smd_ContractDeviceCancel", "DeviceCancelRemark");
        [Column]
        public string DeviceCancelFixAssetNo { get { return fDeviceCancelFIXASSETNO; } set { fDeviceCancelFIXASSETNO = value; EntityState.FieldChange("DeviceCancelFixAssetNo"); } } private string fDeviceCancelFIXASSETNO; public static FieldInfo _DeviceCancelFixAssetNo = new FieldInfo("t_smd_ContractDeviceCancel", "DeviceCancelFixAssetNo");
        [Column]
        public decimal? DeviceCancelDeposit { get { return fDeviceCancelDEPOSIT; } set { fDeviceCancelDEPOSIT = value; EntityState.FieldChange("DeviceCancelDeposit"); } } private decimal? fDeviceCancelDEPOSIT; public static FieldInfo _DeviceCancelDeposit = new FieldInfo("t_smd_ContractDeviceCancel", "DeviceCancelDeposit");
        [Column]
        public string DeviceCancelContractType { get { return fDeviceCancelContractType; } set { fDeviceCancelContractType = value; EntityState.FieldChange("DeviceCancelContractType"); } } private string fDeviceCancelContractType; public static FieldInfo _DeviceCancelContractType = new FieldInfo("t_smd_ContractDeviceCancel", "DeviceCancelContractType");
        [Column]
        public DateTime? DeviceCancelContractBeginDate { get { return fDeviceCancelCONTRACTBEGINDATE; } set { fDeviceCancelCONTRACTBEGINDATE = value; EntityState.FieldChange("DeviceCancelContractBeginDate"); } } private DateTime? fDeviceCancelCONTRACTBEGINDATE; public static FieldInfo _DeviceCancelContractBeginDate = new FieldInfo("t_smd_ContractDeviceCancel", "DeviceCancelContractBeginDate");
        [Column]
        public DateTime? DeviceCancelContractEndDate { get { return fDeviceCancelCONTRACTENDDATE; } set { fDeviceCancelCONTRACTENDDATE = value; EntityState.FieldChange("DeviceCancelContractEndDate"); } } private DateTime? fDeviceCancelCONTRACTENDDATE; public static FieldInfo _DeviceCancelContractEndDate = new FieldInfo("t_smd_ContractDeviceCancel", "DeviceCancelContractEndDate");
        [Column]
        public string DeliveryNo { get { return fDELIVERYNO; } set { fDELIVERYNO = value; EntityState.FieldChange("DeliveryNo"); } } private string fDELIVERYNO; public static FieldInfo _DeliveryNo = new FieldInfo("t_smd_ContractDeviceCancel", "DeliveryNo");
        [Column]
        public DateTime? DeliveryDate { get { return fDELIVERYDATE; } set { fDELIVERYDATE = value; EntityState.FieldChange("DeliveryDate"); } } private DateTime? fDELIVERYDATE; public static FieldInfo _DeliveryDate = new FieldInfo("t_smd_ContractDeviceCancel", "DeliveryDate");
        [Column]
        public bool? DeviceCancelRegionReceive { get { return fDeviceCancelRegionReceive; } set { fDeviceCancelRegionReceive = value; EntityState.FieldChange("DeviceCancelRegionReceive"); } } private bool? fDeviceCancelRegionReceive; public static FieldInfo _DeviceCancelRegionReceive = new FieldInfo("t_smd_Contract", "DeviceCancelRegionReceive");
        [Column]
        public string TransferFromStoreSN { get { return fTransferFromStoreSN; } set { fTransferFromStoreSN = value; EntityState.FieldChange("TransferFromStoreSN"); } } private string fTransferFromStoreSN; public static FieldInfo _TransferFromStoreSN = new FieldInfo("t_smd_ContractDeviceCancel", "TransferFromStoreSN");
        [Column]
        public string TransferToStoreSN { get { return fTransferToStoreSN; } set { fTransferToStoreSN = value; EntityState.FieldChange("TransferToStoreSN"); } } private string fTransferToStoreSN; public static FieldInfo _TransferToStoreSN = new FieldInfo("t_smd_ContractDeviceCancel", "TransferToStoreSN");
        [Column]
        public DateTime? TransferContractDate { get { return fTransferContractDate; } set { fTransferContractDate = value; EntityState.FieldChange("TransferContractDate"); } } private DateTime? fTransferContractDate; public static FieldInfo _TransferContractDate = new FieldInfo("t_smd_ContractDeviceCancel", "TransferContractDate");
        [Column]
        public string DeviceCancelFileNO { get { return fDeviceCancelFileNO; } set { fDeviceCancelFileNO = value; EntityState.FieldChange("DeviceCancelFileNO"); } } private string fDeviceCancelFileNO; public static FieldInfo _DeviceCancelFileNO = new FieldInfo("t_smd_Contract", "DeviceCancelFileNO");
        [Column]
        public string PartyACustomer { get { return fPartyACustomer; } set { fPartyACustomer = value; EntityState.FieldChange("PartyACustomer"); } } private string fPartyACustomer; public static FieldInfo _PartyACustomer = new FieldInfo("t_smd_DeviceCancel", "PartyACustomer");
        [Column]
        public string PartyBCustomer { get { return fPartyBCustomer; } set { fPartyBCustomer = value; EntityState.FieldChange("PartyBCustomer"); } } private string fPartyBCustomer; public static FieldInfo _PartyBCustomer = new FieldInfo("t_smd_DeviceCancel", "PartyBCustomer");
        [Column]
        public decimal FineAmount { get { return fFineAmount; } set { fFineAmount = value; EntityState.FieldChange("FineAmount"); } } private decimal fFineAmount; public static FieldInfo _FineAmount = new FieldInfo("t_smd_DeviceCancel", "FineAmount");
        [Column]
        public decimal TransferAmount { get { return fTransferAmount; } set { fTransferAmount = value; EntityState.FieldChange("TransferAmount"); } } private decimal fTransferAmount; public static FieldInfo _TransferAmount = new FieldInfo("t_smd_DeviceCancel", "TransferAmount");
        [Column]
        public string DeviceCancelContractSN { get { return fDeviceCancelContractSN; } set { fDeviceCancelContractSN = value; EntityState.FieldChange("DeviceCancelContractSN"); } } private string fDeviceCancelContractSN; public static FieldInfo _DeviceCancelContractSN = new FieldInfo("t_smd_DeviceCancel", "DeviceCancelContractSN");
        [Column]
        public string DeviceCancelNotSignReason { get { return fDeviceCancelNotSignReason; } set { fDeviceCancelNotSignReason = value; EntityState.FieldChange("DeviceCancelNotSignReason"); } } private string fDeviceCancelNotSignReason; public static FieldInfo _DeviceCancelNotSignReason = new FieldInfo("t_smd_DeviceCancel", "DeviceCancelNotSignReason");

    }
}